package com.dimanche.library_db.entity;

import androidx.room.ColumnInfo;
import androidx.room.Entity;

import com.dimanche.library_db.base.BaseDbEntity;

/**
 * author : Dimanche
 * date   : 2021/3/10 16:45
 * desc   :
 * version: 1.0
 */
@Entity(tableName = "Word")
public class WordEntity extends BaseDbEntity {

    /**
     * 字
     */
    @ColumnInfo(name = "word")
    public String word;
    /**
     * 繁体字
     */
    @ColumnInfo(name = "oldword")
    public String oldword;
    /**
     * 笔画
     */
    @ColumnInfo(name = "strokes")
    public int strokes;
    /**
     * 拼音
     */
    @ColumnInfo(name = "pinyin")
    public String pinyin;
    /**
     * 部首
     */
    @ColumnInfo(name = "radicals")
    public String radicals;

    /**
     * 笔顺
     */
    @ColumnInfo(name = "strokeOrder")
    public String strokeOrder;

    /**
     * 解释
     */
    @ColumnInfo(name = "explanation")
    public String explanation;

    /**
     * 更多
     */
    @ColumnInfo(name = "more")
    public String more;


    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public String getOldword() {
        return oldword;
    }

    public void setOldword(String oldword) {
        this.oldword = oldword;
    }

    public int getStrokes() {
        return strokes;
    }

    public void setStrokes(int strokes) {
        this.strokes = strokes;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public String getRadicals() {
        return radicals;
    }

    public void setRadicals(String radicals) {
        this.radicals = radicals;
    }

    public String getStrokeOrder() {
        return strokeOrder;
    }

    public void setStrokeOrder(String strokeOrder) {
        this.strokeOrder = strokeOrder;
    }

    public String getExplanation() {
        return explanation;
    }

    public void setExplanation(String explanation) {
        this.explanation = explanation;
    }

    public String getMore() {
        return more;
    }

    public void setMore(String more) {
        this.more = more;
    }
}
